{% extends "basic/layout.html" %}

{%- block doctype -%}
<!DOCTYPE html>
{%- endblock %}

{%- block htmltitle %}
<title>OCLint - {{ release }} Documentation -  {{ title|striptags|e }}</title>
{%- endblock %}

{%- block extrahead %}
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5FWGVV8VBL"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-5FWGVV8VBL');
</script>
<meta charset='utf-8'>
<style type='text/css'>
/*<![CDATA[*/
  body { padding-top: 20px; padding-bottom: 40px; }
  .container-narrow { margin: 0 auto; max-width: 990px; }
  .container-narrow > hr { margin: 30px 0 6px; }
  .content { clear: both; overflow: hidden; }
  h1 { font-size: 31.5px; }
  h2 { font-size: 24.5px; }
  h3 { font-size: 17.5px; }
  h4 { font-size: 14px; }
  h5 { font-size: 11.9px; }
  h1 small { font-size: 17.5px; }
  h2 small { font-size: 14px; }
  a.headerlink { color: #E3E3E3; font-size: 0.8em; padding: 0 4px 0 9px; text-decoration: none; }
  a.headerlink:hover { color: #08C; }
  div.admonition { margin-top: 10px; margin-bottom: 10px; padding: 7px; }
  div.note { background-color: #EEE; border: 1px solid #CCC; }
  p.admonition-title { margin: 0px 10px 5px 0px; font-weight: bold; display: inline; }
  div.seealso { background-color: #FFC; border: 1px solid #FF6; }
  div.warning { background-color: #FFE4E4; border: 1px solid #F66; }
/*]]>*/
</style>
{% endblock %}

{%- block content %}
<div class='container-narrow'>
  <div class='masthead'>
    <ul class='nav nav-pills pull-right'>
      <li>
        <a href='https://oclint.org/'>Home</a>
      </li>
      <li>
        <a href='https://oclint.org/news.html'>News</a>
      </li>
      <li>
        <a href='{{ pathto('index') }}'>Documentation</a>
      </li>
      <li>
        <a href='https://github.com/oclint/oclint/releases'>Releases</a>
      </li>
      <li>
        <a href='https://github.com/oclint'>GitHub</a>
      </li>
    </ul>
    <h2 class='muted'>OCLint</h2>
  </div>
  <div class='content'>
    <div class='row-fluid'>
        <div class='span9'>
          {% block body %}{% endblock %}
        </div>
        <div class='span3'>
          <div class="well sidebar-nav">
            {%- if pagename != "search" %}
              <div id="searchbox" style="display: none">
                <h3>{{ _('Search') }}</h3>
                  <form class="search" action="{{ pathto('search') }}" method="get">
                    <div class="input-append">
                      <input type="text" name="q" placeholder="search keywords" class="span9" id="appendedInputButton" />
                      <input type="submit" value="{{ _('Go!') }}" class="btn" />
                    </div>
                    <input type="hidden" name="check_keywords" value="yes" />
                    <input type="hidden" name="area" value="default" />
                  </form>
              </div>
              <script type="text/javascript">$('#searchbox').show(0);</script>
            {%- endif %}
            <h3>Contents</h3>
            {{ toc }}
            <h3>Hierarchy</h3>
            <ul>
                <li>
                  <a href="{{ pathto('index') }}">{{ docstitle }}</a>
                  {% for p in parents %}
                    <ul><li><a href="{{ p.link }}">{{ p.title }}</a>
                  {% endfor %}
                  <ul><li>{{ title }}</li></ul>
                  {% for p in parents %}</li></ul>{% endfor %}
                </li>
            </ul>
            <h3>Navigation</h3>
            <ul>
              {% if prev %}
                <li>Prev: <a href="{{ prev.link }}">{{ prev.title }}</a></li>
              {% endif %}
              {% if next %}
                <li>Next: <a href="{{ next.link }}">{{ next.title }}</a></li>
              {% endif %}
              <li><a title="Home page" href="{{ pathto('index') }}">Index</a></li>
              <li><a title="Table of contents" href="{{ pathto('contents') }}">Table of Contents</a></li>
            </ul>
          </div>
          <div class="well sidebar-module">
            <p>OCLint documentation is a <a href="https://github.com/oclint/oclint-docs" target="_blank">public GitHub repository</a>. Please help us by forking the project and adding to it.</p>
          </div>
        </div>
  </div>
  <hr />
  <div class='footer'>
    OCLint {{ release }} Documentation is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
    <br />
    Maintained by <a href="https://ryuichi.co/labs?ref=oclint-docs">Ryuichi Laboratories</a>.
    {%- if show_sphinx %}
      {% trans sphinx_version=sphinx_version|e %}Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/>
    {%- endif %}
  </div>
</div>
{%- endblock %}

{% block footer %}{% endblock %}
{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
